package com.vito.framework.system.notice.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.vito.framework.base.exception.CommonException;
import com.vito.framework.base.service.BaseService;
import com.vito.framework.system.notice.model.NoticeBean;

import java.util.List;
import java.util.Map;

public interface NoticeService extends BaseService<NoticeBean> {

	IPage<NoticeBean> getNoticeList(Page<NoticeBean> page, Map<String, Object> paramMap) throws CommonException;

	void editNoticeReadFlag(NoticeBean noticeBean)throws CommonException;
	//查询公告列表
	List<NoticeBean> noticeList(Map<String, Object> paramMap)throws CommonException;
	//根据id查询公告
	NoticeBean getById(String noticeId) throws CommonException;

}
